{% extends "index.html" %}
{% block head %}
    <link rel="stylesheet" type="text/css" href="{{ url_for('static',filename='css/style.css') }}">
{% endblock %}

{% block result %}
    <table class="qgg-table">
        <tr>
            <th>图书ID</th>
            <th>图书名称</th>
            <th>借阅者名称</th>
            <th>借阅时间</th>
            <th>是/否未还</th>
        </tr>

        {% for rs in results %}
            <tr>
                <td>{{ rs.book_id }}</td>
                <td>{{ rs.book_name }}</td>
                <td>{{ rs.borrower_name }}</td>
                <td>{{ rs.borrow_time }}</td>
                <td>{{"是" }}</td>
            </tr>
        {% endfor %}

    </table>


{% endblock %}